package service;

import pojo.Conversation;

import java.util.List;

public interface ConversationService {
    Conversation getById(Integer id);
    List<Conversation> getByUserId(Integer userId);
    List<Conversation> getByDoctorId(String doctorId);
    List<Conversation> getByUserIdAndDoctorId(Integer userId, String doctorId);
    int add(Conversation conversation);
    int update(Conversation conversation);
    int delete(Integer id);
}